
Code and data instructions for

Echo Chambers 
	by Anthony J. Cookson, Joseph E. Engelberg, and William Mullins




Data:

We are unable to share data from Stocktwits, CRSP, Compustat, or Ravenpack. We provide pseudo-data to illustrate the format of the files read by the code: Sample_data_Echo.7z



Code:

The following code files generated the tables and figures in the paper using SAS and STATA. 
Code order: first run Echo_RFS.sas in SAS. Then run *.do files in numerical order in STATA i.e.,:

do 0_prep_gASVI.do
do 1_prep_crsp.do
do 2_miscellaneous_prep.do
do 3_follows_prep_T2.do
do 4_follows_T3_TA2.do
do 5_follows_xtrades_T4.do
do 6_follows_xuserchar_T8.do
do 7_follows_xeaday_T7.do
do 8_follows_leave_T9.do
do 9_declarations_expost_T10.do
do 10_newsfeed_T5_TA5.do
do 11_likes_T6.do
do 12_combinatorics_T12.do
do 13_volume_T1c_T13a.do
do 14_returns_T11_F6.do
do 15_ret_stockday_T13b.do
do 16_sdisagree_F8_TA7_TA8.do
